﻿// <copyright file="IShowItemCraftingResultPlugIn.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>

namespace MUnique.OpenMU.GameLogic.Views.NPC
{
    using MUnique.OpenMU.DataModel.Entities;

    /// <summary>
    /// Interface of a view whose implementation informs about the crafting result.
    /// </summary>
    public interface IShowItemCraftingResultPlugIn : IViewPlugIn
    {
        /// <summary>
        /// Shows the crafting result.
        /// </summary>
        /// <param name="result">The crafting result.</param>
        /// <param name="createdItem">The created item.</param>
        void ShowResult(CraftingResult result, Item? createdItem);
    }
}